package com.sikaryofficial.backend.domain.dto.resp.workOrder;

import com.sikaryofficial.common.core.annotation.LocalDateTimeFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户售后工单对象 user_work_order_t
 *
 * @author qinjinyuan
 * @date 2024-01-17
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class UserWorkOrderDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "序列号")
    private Integer seqNo;

    /**
     * 工单号
     */
    @ApiModelProperty(value = "工单号")
    private String workOrderNo;

    /**
     * 工单ID
     */
    @ApiModelProperty(value = "工单ID")
    private Long workOrderId;

    /**
     * 名
     */
    @ApiModelProperty(value = "名")
    private String firstName;

    /**
     * 姓
     */
    @ApiModelProperty(value = "姓")
    private String lastName;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 地址ID
     */
    @ApiModelProperty(value = "地址ID")
    private Long addressId;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "国家")
    private String country;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 品牌
     */
    @ApiModelProperty(value = "品牌")
    private String brandNo;

    /**
     * 产品名称
     */
    @ApiModelProperty(value = "产品名称")
    private String productName;

    /**
     * 工单状态 1-受理中;2-已受理;3-完成
     */
    @ApiModelProperty(value = "工单状态 1-待处理;2-处理中;3-完成")
    private Integer workOrderStatus;

    @ApiModelProperty(value = "工单状态描述")
    private String workOrderStatusDesc;

    @ApiModelProperty(value = "工单第1张图片")
    private String coverUrl;

    @ApiModelProperty
    @LocalDateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
}
